﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for AbstractUI
/// </summary>
public class AbstractUI : System.Web.UI.Page
{
    public ProductDAO proDao = new ProductDAO();
    public bool IsRefresh { get; set; }

    protected override void OnPreInit(EventArgs e)
    {
        base.OnPreInit(e);
        IsRefresh = false;
        if (Page.Request.AppRelativeCurrentExecutionFilePath == Request.Url.ToString() &&
            !Page.IsPostBack)
            IsRefresh = true;
    }
	public AbstractUI()
	{
        
		//
		// TODO: Add constructor logic here
		//
	}
}